package me.goldze.mvvmhabit.base;

import java.io.Serializable;
import java.util.List;

public class LoginUser implements Serializable {
    private int UserID;//: 11,
    private String Name;//: '张三',
    private int SchoolID;//: 22,
    private String SchoolName;//: '天天开心幼儿园',
    private String Token;//: 'D491...8E69',
    private List<ManagedClass> ManangedClassList;//:[{ ClassID: 123, Name: '大一班'}]
    private boolean CanXunCha;//: true, //是否有权添加巡查记录
    private boolean CanJianCha;//: true, //是否有权添加检查记录
    private boolean CanAssignHeader;//: true //是否允许指定负责人

    public int getUserID() {
        return UserID;
    }

    public void setUserID(int userID) {
        UserID = userID;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public int getSchoolID() {
        return SchoolID;
    }

    public void setSchoolID(int schoolID) {
        SchoolID = schoolID;
    }

    public String getSchoolName() {
        return SchoolName;
    }

    public void setSchoolName(String schoolName) {
        SchoolName = schoolName;
    }

    public String getToken() {
        return Token;
    }

    public void setToken(String token) {
        Token = token;
    }

    public List<ManagedClass> getManangedClassList() {
        return ManangedClassList;
    }

    public void setManangedClassList(List<ManagedClass> manangedClassList) {
        ManangedClassList = manangedClassList;
    }

    public boolean isCanXunCha() {
        return CanXunCha;
    }

    public void setCanXunCha(boolean canXunCha) {
        CanXunCha = canXunCha;
    }

    public boolean isCanJianCha() {
        return CanJianCha;
    }

    public void setCanJianCha(boolean canJianCha) {
        CanJianCha = canJianCha;
    }

    public boolean isCanAssignHeader() {
        return CanAssignHeader;
    }

    public void setCanAssignHeader(boolean canAssignHeader) {
        CanAssignHeader = canAssignHeader;
    }

    public static class ManagedClass implements Serializable {
        private int ClassID;
        private String Name;

        public int getClassID() {
            return ClassID;
        }

        public void setClassID(int classID) {
            ClassID = classID;
        }

        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }
    }
}
